3.293 \(\int \frac{x^2}{\sqrt{a x^2+b x^5}} \, dx\)

Optimal. Leaf size=484 \[ \frac{2 \sqrt{2} \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a x^2+b x^5}}-\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{b^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a x^2+b x^5}}+\frac{2 x \left (a+b x^3\right )}{b^{2/3} \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{a x^2+b x^5}} \]

[Out]

(2*x*(a + b*x^3))/(b^(2/3)*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)*Sqrt[a*x^2 + b*x^
5]) - (3^(1/4)*Sqrt[2 - Sqrt[3]]*a^(1/3)*x*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) -
 a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Ellipti
cE[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x
)], -7 - 4*Sqrt[3]])/(b^(2/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3]
)*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a*x^2 + b*x^5]) + (2*Sqrt[2]*a^(1/3)*x*(a^(1/3) +
 b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1
/3) + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + S
qrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(3^(1/4)*b^(2/3)*Sqrt[(a^(1/3)*(
a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a*x^2 + b*x^5]
)

_______________________________________________________________________________________

Rubi [A]  time = 0.425359, antiderivative size = 484, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21 \[ \frac{2 \sqrt{2} \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a x^2+b x^5}}-\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{b^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a x^2+b x^5}}+\frac{2 x \left (a+b x^3\right )}{b^{2/3} \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{a x^2+b x^5}} \]

Antiderivative was successfully verified.

[In]  Int[x^2/Sqrt[a*x^2 + b*x^5],x]

[Out]

(2*x*(a + b*x^3))/(b^(2/3)*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)*Sqrt[a*x^2 + b*x^
5]) - (3^(1/4)*Sqrt[2 - Sqrt[3]]*a^(1/3)*x*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) -
 a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Ellipti
cE[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x
)], -7 - 4*Sqrt[3]])/(b^(2/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3]
)*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a*x^2 + b*x^5]) + (2*Sqrt[2]*a^(1/3)*x*(a^(1/3) +
 b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1
/3) + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + S
qrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(3^(1/4)*b^(2/3)*Sqrt[(a^(1/3)*(
a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a*x^2 + b*x^5]
)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 38.7092, size = 435, normalized size = 0.9 \[ - \frac{\sqrt [4]{3} \sqrt [3]{a} \sqrt{\frac{a^{\frac{2}{3}} - \sqrt [3]{a} \sqrt [3]{b} x + b^{\frac{2}{3}} x^{2}}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \sqrt{- \sqrt{3} + 2} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right ) \sqrt{a x^{2} + b x^{5}} E\left (\operatorname{asin}{\left (\frac{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{b} x}{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x} \right )}\middle | -7 - 4 \sqrt{3}\right )}{b^{\frac{2}{3}} x \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right )}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \left (a + b x^{3}\right )} + \frac{2 \sqrt{2} \cdot 3^{\frac{3}{4}} \sqrt [3]{a} \sqrt{\frac{a^{\frac{2}{3}} - \sqrt [3]{a} \sqrt [3]{b} x + b^{\frac{2}{3}} x^{2}}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right ) \sqrt{a x^{2} + b x^{5}} F\left (\operatorname{asin}{\left (\frac{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{b} x}{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x} \right )}\middle | -7 - 4 \sqrt{3}\right )}{3 b^{\frac{2}{3}} x \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right )}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \left (a + b x^{3}\right )} + \frac{2 \sqrt{a x^{2} + b x^{5}}}{b^{\frac{2}{3}} x \left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2/(b*x**5+a*x**2)**(1/2),x)

[Out]

-3**(1/4)*a**(1/3)*sqrt((a**(2/3) - a**(1/3)*b**(1/3)*x + b**(2/3)*x**2)/(a**(1/
3)*(1 + sqrt(3)) + b**(1/3)*x)**2)*sqrt(-sqrt(3) + 2)*(a**(1/3) + b**(1/3)*x)*sq
rt(a*x**2 + b*x**5)*elliptic_e(asin((-a**(1/3)*(-1 + sqrt(3)) + b**(1/3)*x)/(a**
(1/3)*(1 + sqrt(3)) + b**(1/3)*x)), -7 - 4*sqrt(3))/(b**(2/3)*x*sqrt(a**(1/3)*(a
**(1/3) + b**(1/3)*x)/(a**(1/3)*(1 + sqrt(3)) + b**(1/3)*x)**2)*(a + b*x**3)) +
2*sqrt(2)*3**(3/4)*a**(1/3)*sqrt((a**(2/3) - a**(1/3)*b**(1/3)*x + b**(2/3)*x**2
)/(a**(1/3)*(1 + sqrt(3)) + b**(1/3)*x)**2)*(a**(1/3) + b**(1/3)*x)*sqrt(a*x**2
+ b*x**5)*elliptic_f(asin((-a**(1/3)*(-1 + sqrt(3)) + b**(1/3)*x)/(a**(1/3)*(1 +
 sqrt(3)) + b**(1/3)*x)), -7 - 4*sqrt(3))/(3*b**(2/3)*x*sqrt(a**(1/3)*(a**(1/3)
+ b**(1/3)*x)/(a**(1/3)*(1 + sqrt(3)) + b**(1/3)*x)**2)*(a + b*x**3)) + 2*sqrt(a
*x**2 + b*x**5)/(b**(2/3)*x*(a**(1/3)*(1 + sqrt(3)) + b**(1/3)*x))

_______________________________________________________________________________________

Mathematica [C]  time = 0.218631, size = 202, normalized size = 0.42 \[ \frac{2 \sqrt [6]{-1} a^{2/3} x \sqrt{(-1)^{5/6} \left (\frac{\sqrt [3]{-b} x}{\sqrt [3]{a}}-1\right )} \sqrt{\frac{(-b)^{2/3} x^2}{a^{2/3}}+\frac{\sqrt [3]{-b} x}{\sqrt [3]{a}}+1} \left (\sqrt [3]{-1} F\left (\sin ^{-1}\left (\frac{\sqrt{-\frac{i \sqrt [3]{-b} x}{\sqrt [3]{a}}-(-1)^{5/6}}}{\sqrt [4]{3}}\right )|\sqrt [3]{-1}\right )-i \sqrt{3} E\left (\sin ^{-1}\left (\frac{\sqrt{-\frac{i \sqrt [3]{-b} x}{\sqrt [3]{a}}-(-1)^{5/6}}}{\sqrt [4]{3}}\right )|\sqrt [3]{-1}\right )\right )}{\sqrt [4]{3} (-b)^{2/3} \sqrt{x^2 \left (a+b x^3\right )}} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[x^2/Sqrt[a*x^2 + b*x^5],x]

[Out]

(2*(-1)^(1/6)*a^(2/3)*x*Sqrt[(-1)^(5/6)*(-1 + ((-b)^(1/3)*x)/a^(1/3))]*Sqrt[1 +
((-b)^(1/3)*x)/a^(1/3) + ((-b)^(2/3)*x^2)/a^(2/3)]*((-I)*Sqrt[3]*EllipticE[ArcSi
n[Sqrt[-(-1)^(5/6) - (I*(-b)^(1/3)*x)/a^(1/3)]/3^(1/4)], (-1)^(1/3)] + (-1)^(1/3
)*EllipticF[ArcSin[Sqrt[-(-1)^(5/6) - (I*(-b)^(1/3)*x)/a^(1/3)]/3^(1/4)], (-1)^(
1/3)]))/(3^(1/4)*(-b)^(2/3)*Sqrt[x^2*(a + b*x^3)])

_______________________________________________________________________________________

Maple [A]  time = 0.007, size = 394, normalized size = 0.8 \[{\frac{-{\frac{i}{6}}x\sqrt{3}}{{b}^{2}} \left ( -a{b}^{2} \right ) ^{{\frac{2}{3}}}\sqrt{{-i\sqrt{3} \left ( i\sqrt{3}\sqrt [3]{-a{b}^{2}}-2\,bx-\sqrt [3]{-a{b}^{2}} \right ){\frac{1}{\sqrt [3]{-a{b}^{2}}}}}}\sqrt{-2\,{\frac{-bx+\sqrt [3]{-a{b}^{2}}}{\sqrt [3]{-a{b}^{2}} \left ( i\sqrt{3}-3 \right ) }}}\sqrt{{-i\sqrt{3} \left ( i\sqrt{3}\sqrt [3]{-a{b}^{2}}+2\,bx+\sqrt [3]{-a{b}^{2}} \right ){\frac{1}{\sqrt [3]{-a{b}^{2}}}}}} \left ( i{\it EllipticE} \left ({\frac{\sqrt{3}\sqrt{2}}{6}\sqrt{{-i\sqrt{3} \left ( i\sqrt{3}\sqrt [3]{-a{b}^{2}}-2\,bx-\sqrt [3]{-a{b}^{2}} \right ){\frac{1}{\sqrt [3]{-a{b}^{2}}}}}}},\sqrt{2}\sqrt{{\frac{i\sqrt{3}}{i\sqrt{3}-3}}} \right ) \sqrt{3}-3\,{\it EllipticE} \left ( 1/6\,\sqrt{3}\sqrt{2}\sqrt{{\frac{-i \left ( i\sqrt{3}\sqrt [3]{-a{b}^{2}}-2\,bx-\sqrt [3]{-a{b}^{2}} \right ) \sqrt{3}}{\sqrt [3]{-a{b}^{2}}}}},\sqrt{2}\sqrt{{\frac{i\sqrt{3}}{i\sqrt{3}-3}}} \right ) +2\,{\it EllipticF} \left ( 1/6\,\sqrt{3}\sqrt{2}\sqrt{{\frac{-i \left ( i\sqrt{3}\sqrt [3]{-a{b}^{2}}-2\,bx-\sqrt [3]{-a{b}^{2}} \right ) \sqrt{3}}{\sqrt [3]{-a{b}^{2}}}}},\sqrt{2}\sqrt{{\frac{i\sqrt{3}}{i\sqrt{3}-3}}} \right ) \right ){\frac{1}{\sqrt{b{x}^{5}+a{x}^{2}}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2/(b*x^5+a*x^2)^(1/2),x)

[Out]

-1/6*I*x*3^(1/2)*(-a*b^2)^(2/3)*(-I*(I*3^(1/2)*(-a*b^2)^(1/3)-2*b*x-(-a*b^2)^(1/
3))*3^(1/2)/(-a*b^2)^(1/3))^(1/2)*(-2*(-b*x+(-a*b^2)^(1/3))/(-a*b^2)^(1/3)/(I*3^
(1/2)-3))^(1/2)*(-I*(I*3^(1/2)*(-a*b^2)^(1/3)+2*b*x+(-a*b^2)^(1/3))*3^(1/2)/(-a*
b^2)^(1/3))^(1/2)*(I*EllipticE(1/6*3^(1/2)*2^(1/2)*(-I*(I*3^(1/2)*(-a*b^2)^(1/3)
-2*b*x-(-a*b^2)^(1/3))*3^(1/2)/(-a*b^2)^(1/3))^(1/2),2^(1/2)*(I*3^(1/2)/(I*3^(1/
2)-3))^(1/2))*3^(1/2)-3*EllipticE(1/6*3^(1/2)*2^(1/2)*(-I*(I*3^(1/2)*(-a*b^2)^(1
/3)-2*b*x-(-a*b^2)^(1/3))*3^(1/2)/(-a*b^2)^(1/3))^(1/2),2^(1/2)*(I*3^(1/2)/(I*3^
(1/2)-3))^(1/2))+2*EllipticF(1/6*3^(1/2)*2^(1/2)*(-I*(I*3^(1/2)*(-a*b^2)^(1/3)-2
*b*x-(-a*b^2)^(1/3))*3^(1/2)/(-a*b^2)^(1/3))^(1/2),2^(1/2)*(I*3^(1/2)/(I*3^(1/2)
-3))^(1/2)))/(b*x^5+a*x^2)^(1/2)/b^2

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{b x^{5} + a x^{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/sqrt(b*x^5 + a*x^2),x, algorithm="maxima")

[Out]

integrate(x^2/sqrt(b*x^5 + a*x^2), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{x^{2}}{\sqrt{b x^{5} + a x^{2}}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/sqrt(b*x^5 + a*x^2),x, algorithm="fricas")

[Out]

integral(x^2/sqrt(b*x^5 + a*x^2), x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{x^{2} \left (a + b x^{3}\right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2/(b*x**5+a*x**2)**(1/2),x)

[Out]

Integral(x**2/sqrt(x**2*(a + b*x**3)), x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{b x^{5} + a x^{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/sqrt(b*x^5 + a*x^2),x, algorithm="giac")

[Out]

integrate(x^2/sqrt(b*x^5 + a*x^2), x)